package com.jason.springcloud.service;

import com.jason.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Param;

/**
 * @program: Cloud2021
 * @description: 支付服务接口
 * @author: Jason_Wang
 * @create: 2021-12-07 23:32
 **/

public interface PaymentService {

    /**
     * 写操作
     * @param payment
     * @return
     */
    public int create(Payment payment);

    /**
     * 读操作
     * @param id
     * @return
     */
    public Payment getPaymentId(@Param("id") Long id);
}
